/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package webtest;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Nenad
 */
public class whateva {

    public whateva() {
        Thread t = new Thread(new Runnable() {
            public void run() {
                while (true) {
                    //kode
                    try {
                        //kode her
                        Thread.sleep(1000/5);
                    } catch (InterruptedException ex) {
                        Logger.getLogger(whateva.class.getName()).log(Level.SEVERE, null, ex);
                    }
                }
            }
        });
t.start();
    }

}
